<%@page import="java.net.URLDecoder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <% String yuanString=request.getQueryString(); 
    
    %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%=yuanString %>
	<!-- 解密 -->
	<% String jieString=URLDecoder.decode(yuanString,"UTF-8"); %>
	</br>
	<%=jieString %>
	</br>
	<% 
		String[] paramPairs=jieString.split("&"); 
		for(int i=0;i<paramPairs.length;i++){
			out.println(paramPairs[i]+"<br/>");
			String[] Value=paramPairs[i].split("=");
			out.println(Value[0]+"参数值是："+Value[1]);
		}
	%>
</body>
</html>